<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="row">
        <div class="col-sm-6">
        <div class="form-group">
            <label for="c-local-1" class="control-label col-xs-12 col-sm-2">淘宝号:</label><!--淘宝号-->
            <div class="col-xs-12 col-sm-8">
                <input id="c-tao_bao_no" data-rule="required" class="form-control form-control" name="row[tao_bao_no]" type="text" value="{$row.tao_bao_no}" disabled>
            </div>
        </div>



        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <label for="c-local-1" class="control-label col-xs-12 col-sm-2">店铺名称:</label><!--店铺名称-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-shop_name" data-rule="required" class="form-control form-control" name="row[shop_name]" type="text" value="{$row.shop_name}" disabled>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <label for="c-local-1" class="control-label col-xs-12 col-sm-2">商品链接:</label><!--商品链接-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-good_url" data-rule="required" class="form-control form-control" name="row[good_url]" type="text" value="{$row.task.goods_url}" disabled>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <label for="c-local-1" class="control-label col-xs-12 col-sm-2">所属房间号:</label><!--所属房间号-->
                <div class="col-xs-12 col-sm-8">
                    <input id="c-room" data-rule="required" class="form-control form-control" name="row[room]" type="text" value="{$row.room}" disabled>
                </div>
            </div>
        </div>

        <div class="col-sm-6">
            <div class="form-group">
                <label for="c-local-1" class="control-label col-xs-12 col-sm-2">猜你喜欢截图:</label><!--猜你喜欢截图-->
                <div class="col-xs-12 col-sm-8">
                    <button id="plupload-local1" type="button" class="btn btn-primary plupload" data-preview-id="c-preview-1" data-input-id="c-local-1"  data-url="{:url('ajax/upload')}"><i class="fa fa-upload"></i> 猜你喜欢截图</button>
                </div>
            </div>
            <div class="form-group" >
                <label for="c-local-1" class="control-label col-xs-12 col-sm-2">图片:</label>
                <div class="col-xs-12 col-sm-8">
                    <input type="text" name="row[enjoyed_img]" id="c-local-1" class="form-control" style="display:none" value="{$row.order_image.enjoyed_img}"/>
                    <div id="c-preview-1">
                        {if !empty($row.order_image.enjoyed_img) && isset($row.order_image.enjoyed_img) }
                        <li class="col-xs-3">
                            <a href="{$row.order_image.enjoyed_img}" data-url="{$row.order_image.enjoyed_img}" target="_blank" class="thumbnail">
                                <img src="{$row.order_image.enjoyed_img}" class="img-responsive">
                            </a><a href="javascript:;" class="btn btn-danger btn-xs btn-trash">
                            <i class="fa fa-trash"></i>
                        </a>
                        </li>
                        {/if}
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <label for="c-local-2" class="control-label col-xs-12 col-sm-2">主图上:</label><!--主图上-->
                <div class="col-xs-12 col-sm-8">
                    <button id="plupload-local2" type="button"  class="btn btn-primary plupload"  data-multiple="true" data-preview-id="c-preview-2" data-input-id="c-local-2" data-url="{:url('ajax/upload')}"><i class="fa fa-upload"></i> 主图上</button>
                </div>
            </div>
            <div class="form-group" >
                <label for="c-local-2" class="control-label col-xs-12 col-sm-2">图片:</label>
                <div class="col-xs-12 col-sm-8">
                    <input type="text" name="row[main_img_up]" id="c-local-2" class="form-control" style="display:none" value="{$row.order_image.main_img_up}"/>
                    <div id="c-preview-2">
                        {if !empty($row.order_image.main_img_up) && isset($row.order_image.main_img_up)}
                        <li class="col-xs-3">
                            <a href="{$row.order_image.main_img_up}" data-url="{$row.order_image.main_img_up}" target="_blank" class="thumbnail">
                                <img src="{$row.order_image.main_img_up}" class="img-responsive">
                            </a><a href="javascript:;" class="btn btn-danger btn-xs btn-trash">
                            <i class="fa fa-trash"></i>
                        </a>
                        </li>
                        {/if}
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <label for="c-local-3" class="control-label col-xs-12 col-sm-2">主图中:</label><!--主图中-->
                <div class="col-xs-12 col-sm-8">
                    <button id="plupload-local-3"  type="button" class="btn btn-primary plupload" data-multiple="true" data-preview-id="c-preview-3" data-input-id="c-local-3" data-url="{:url('ajax/upload')}"><i class="fa fa-upload"></i> 主图中</button>
                </div>
            </div>
            <div class="form-group" >
                <label for="c-local-3" class="control-label col-xs-12 col-sm-2">图片:</label>
                <div class="col-xs-12 col-sm-8">
                    <input type="text" name="row[main_img_mid]" id="c-local-3" class="form-control" style="display:none" value="{$row.order_image.main_img_mid}"/>
                    <div id="c-preview-3">
                        {if !empty($row.order_image.main_img_mid) && isset($row.order_image.main_img_mid)}
                        <li class="col-xs-3">
                            <a href="{$row.order_image.main_img_mid}" data-url="{$row.order_image.main_img_mid}" target="_blank" class="thumbnail">
                                <img src="{$row.order_image.main_img_mid}" class="img-responsive">
                            </a><a href="javascript:;" class="btn btn-danger btn-xs btn-trash">
                            <i class="fa fa-trash"></i>
                        </a>
                        </li>
                        {/if}
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-6">
            <div class="form-group">
                <label for="c-local-4" class="control-label col-xs-12 col-sm-2">主图下:</label><!--淘气值-->
                <div class="col-xs-12 col-sm-8">
                    <button id="plupload-local4" type="button"  class="btn btn-primary plupload" data-preview-id="c-preview-4" data-input-id="c-local-4" data-url="{:url('ajax/upload')}"><i class="fa fa-upload"></i> 主图下</button>
                </div>
            </div>
            <div class="form-group" >
                <label for="c-local-4" class="control-label col-xs-12 col-sm-2">图片:</label>
                <div class="col-xs-12 col-sm-8">
                    <input type="text" name="row[main_img_low]" id="c-local-4" class="form-control" style="display:none" value="{$row.order_image.main_img_low}"/>
                    <div id="c-preview-4">
                        {if !empty($row.order_image.main_img_low) && isset($row.order_image.main_img_low)}
                        <li class="col-xs-3">
                            <a href="{$row.order_image.main_img_low}" data-url="{$row.order_image.main_img_low}" target="_blank" class="thumbnail">
                                <img src="{$row.order_image.main_img_low}" class="img-responsive">
                            </a><a href="javascript:;" class="btn btn-danger btn-xs btn-trash">
                            <i class="fa fa-trash"></i>
                        </a>
                        </li>
                        {/if}
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--<div class="form-group layer-footer">-->
        <!--<label class="control-label col-xs-12 col-sm-2"></label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>-->
            <!--<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>-->
        <!--</div>-->
    <!--</div>-->
</form>
